<?php
/**
 * @abstract All the resources have to be one word
 * 
 */
class Default_IndexController extends Clu_Controller_Action_Hvn
{
	public function fakeipAction()
	{
	
    	    // This is actually exactly the same:
        $client = new Zend_Http_Client();
        //$uri = "http://hvn/en/article/index/search";
        $u = "http://www.buyfastsoftware.com/googleSitemapProducts.php";
        $client->setUri($u);
        $client->setMethod(Zend_Http_Client::GET);
        //$client->setParameterPost('id', 'tobeposted123');
    
        $client->setConfig(array(
        	'useragent' => "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1",
            'maxredirects' => 0,
            'timeout'      => 30));
        $client->setHeaders(array(	
        	'Host' => 'hvn',
            'Accept-encoding' => 'gzip,deflate',
    		'X-Powered-By' => 'CLue Framework'
        ));
        $response = $client->request();
        echo "helo";
    	die_a($response->getBody());
    	echo 'hello';
    	die();
	}
}